UrlProxyConfig

public final class UrlProxyConfig implements ProxyConfig

With this proxy configuration the connection uses proxy settings received from proxy auto-config (PAC) file which is located at the specific address. In case PAC script fails, a direct connection will be used.

Functions

Link copied to clipboard
public static UrlProxyConfig newInstance(String pacUrl)
Creates a proxy configuration based on the PAC file located at the given pacUrl.
Link copied to clipboard
Returns a string that represents a URL address of the PAC file.